home *** CD-ROM | disk | FTP | other *** search
/ Dictionaries & Language / Dictionaries and Language (Chestnut CD-ROM) (1993).iso / utils / libsh / go.bat < prev    next >
Encoding:
DOS Batch File  |  1993-05-03  |  5.5 KB  |  128 lines

  1. @ECHO OFF
  2. IF NOT EXIST C:\*.* GOTO NODISK
  3. IF EXIST C:\LIBRARY\*.DAT GOTO REINSTALL
  4. CLS
  5. ECHO ╔════════════════════════════════════════════════════════════════════════╗
  6. ECHO ║                                                                        ║
  7. ECHO ║                             Chestnut CD Rom                            ║
  8. ECHO ║                        222 Third Street  #3212                         ║
  9. ECHO ║                        Cambridge, MA 02142-1188                        ║
  10. ECHO ║               Voice (617) 864-"TEAM"  Fax. (617) 864-8327              ║
  11. ECHO ║                                                                        ║
  12. ECHO ║                  Library Management System Demonstration               ║
  13. ECHO ║                                                                        ║
  14. ECHO ║   1. This diskette contains a shareware version 2.7 of the Library     ║
  15. ECHO ║     Management System, capable of everything the real software can do, ║
  16. ECHO ║     but limited to 1000 publications and 10 readers.                   ║
  17. ECHO ║                                                                        ║
  18. ECHO ║   2. Hardware requirements:                                            ║
  19. ECHO ║            IBM-PC/XT/AT, PS/2 or true compatible.                      ║
  20. ECHO ║            512K Available memory                                       ║
  21. ECHO ║            Hard-disk C:                                                ║
  22. ECHO ║                                                                        ║
  23. ECHO ║   3. The file COMMAND.COM should be in the boot-drive's root dir.      ║
  24. ECHO ║                                                                        ║
  25. ECHO ║   Note: For a printed manual type: COPY LIB-ENG.DOC LPT1: [ENTER]      ║
  26. ECHO ║                                                                        ║
  27. ECHO ║           Press any key to continue or Ctrl-C to abort...              ║
  28. ECHO ╚════════════════════════════════════════════════════════════════════════╝
  29. PAUSE >NUL
  30. IF NOT EXIST A:\BIGSORT.EXE GOTO NOMASTER
  31. IF NOT EXIST A:\FIELDS.STR GOTO NOMASTER
  32. IF NOT EXIST A:\LIB-DEMO.EXE GOTO NOMASTER
  33. IF NOT EXIST A:\DATA.EXE GOTO NOMASTER
  34. CLS
  35. ECHO  
  36. ECHO  
  37. ECHO  
  38. ECHO  
  39. ECHO  
  40. ECHO  
  41. ECHO  
  42. ECHO                      ╔═════════════════════════════════╗
  43. ECHO                      ║ Installation - please wait..... ║
  44. ECHO                      ╚═════════════════════════════════╝
  45. C:
  46. MD \LIBRARY
  47. CD \LIBRARY
  48. COPY A:*.* /V >NUL
  49. DATA -o > NUL
  50. LIB-DEMO
  51. CLS
  52. ECHO  
  53. ECHO  
  54. ECHO  
  55. ECHO  
  56. ECHO              ╔═══════════════════════════════════════════════════╗
  57. ECHO              ║       Demonstration version is now installed      ║
  58. ECHO              ║Includes sample data, and capable of performing all║
  59. ECHO              ║  duties of the registered version. After studying ║
  60. ECHO              ║  it you can re-install an EMPTY version, for your ║
  61. ECHO              ║                  PERSONAL USE !                   ║
  62. ECHO              ║   When you feel like doing so, please type (when  ║
  63. ECHO              ║ in C:\LIBRARY directory:                          ║
  64. ECHO              ║        (C:) GO [Enter]                            ║
  65. ECHO              ║                                                   ║
  66. ECHO              ║   This command will erase the existing system,    ║
  67. ECHO              ║  and re-install the system - clean and ready.     ║
  68. ECHO              ╚═══════════════════════════════════════════════════╝
  69. ECHO  
  70. ECHO  
  71. GOTO END
  72. :NODISK
  73. ECHO                            ╔══════════════════════╗
  74. ECHO                            ║ Disk C:  not found - ║
  75. ECHO                            ║ Installation aborted!║
  76. ECHO                            ╚══════════════════════╝
  77. ECHO  
  78. GOTO END
  79. :NOMASTER
  80. CLS
  81. ECHO  
  82. ECHO  
  83. ECHO  
  84. ECHO  
  85. ECHO            ╔═══════════════════════════════════════════════════════╗
  86. ECHO            ║ In order to install this program, these files should  ║
  87. ECHO            ║ be in drive A:                                        ║
  88. ECHO            ║                                                       ║
  89. ECHO            ║     BIGSORT .EXE                                      ║
  90. ECHO            ║     FIELDS  .STR                                      ║
  91. ECHO            ║     LIB-DEMO.EXE                                      ║
  92. ECHO            ║     DATA    .EXE                                      ║
  93. ECHO            ║                                                       ║
  94. ECHO            ║       Please prepare the diskette and re-install      ║
  95. ECHO            ╚═══════════════════════════════════════════════════════╝
  96. ECHO  
  97. ECHO  
  98. ECHO  
  99. GOTO END
  100. :REINSTALL
  101. CLS
  102. ECHO  
  103. ECHO  
  104. ECHO  
  105. ECHO  
  106. ECHO  
  107. ECHO                   ╔════════════════════════════════════════════╗
  108. ECHO                   ║     Library system already installed       ║
  109. ECHO                   ║                                            ║
  110. ECHO                   ║  Initializing the system:                  ║
  111. ECHO                   ║   1. Erasing existing data-files.          ║
  112. ECHO                   ║   2. Creating new empty data-files.        ║
  113. ECHO                   ║   3. Activating the Library system.        ║
  114. ECHO                   ║                                            ║
  115. ECHO                   ║         To do so - press any key           ║
  116. ECHO                   ║          or Ctrl-C to abort !              ║
  117. ECHO                   ╚════════════════════════════════════════════╝
  118. ECHO  
  119. ECHO  
  120. PAUSE >NUL
  121. C:
  122. CD \LIBRARY
  123. ERASE *.DAT
  124. ERASE *.NDX
  125. LIB-DEMO INIT
  126. LIB-DEMO
  127. :END
  128.